﻿using QMERP.SeedWork;

namespace QMERP.Domain.Entities
{
    /// <summary>
    /// 用户绑定的角色
    /// </summary>
    public partial class User_Role : Entity
    {
        /// <summary>
        /// 用户Id
        /// </summary>
        public long UserId { get; set; }
        /// <summary>
        /// 角色Id
        /// </summary>
        public long RoleId { get; set; }
        /// <summary>
        /// 用户
        /// </summary>
        public virtual User? User { get; set; }
        /// <summary>
        /// 角色
        /// </summary>
        public virtual Role? Role { get; set; }
    }
}
